package cn.xinfei.xdecision.common.model.component.decisiontree;

import cn.xinfei.xdecision.common.model.BaseDO;
import cn.xinfei.xdecision.common.model.component.IgnoredParamCheck;
import cn.xinfei.xdecision.common.utils.enums.enginex.ComponentVersionStatusEnum;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@TableName("t_decision_tree_version")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DecisionTreeVersion extends BaseDO {

    //所属组织id
    private Long organId;
    //决策树id
    private String decisionTreeCode;
    //版本code
    private Long versionNo;
    //版本描述
    private String description;

    /**
     * @see ComponentVersionStatusEnum
     */
    @IgnoredParamCheck
    private Integer status;
    //存放执行结果的变量
    private String resultFieldCode;

    /**
     * 默认值输出
     */
    private String defaultValue;

}
